﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TV
{
    class Channel
    {
        private int number;
        private string name;

        public Channel(int number, string name)
        {
            this.number = number;
            this.name = name;
        }

        public int GetNumber
        {
            get
            {
                return number;
            }
        }

        public string GetName
        {
            get
            {
                return name;
            }
        }
    }
}
